<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- 
        v-on:事件名
        可以用@事件名代替
     -->
    <div id="app">
        <button v-on:click="count--">-</button>
        <span>{{count}}</span>
        <button v-on:click="count++">+</button>
    </div>
    <script src="./vue.js"></script>
    <script>
        const vue = new Vue({
            el:'#app',
            data:{
                count:100
            }
        })
    </script>
</body>
</html>